package com.tourism.website.login.service;

import com.tourism.website.login.entity.User;
import com.tourismwebsite.login.query.UserQuery;
import com.tourismwebsite.vo.JsonVO;

public interface UserService {
    //根据用户名查询用户
    User findByUsername(String username);
    //登录
    String QueryUser(UserQuery userQuery);
    //注册
    Boolean InsertUser(UserQuery userQuery);
    //确认用户角色
    Integer findRole(String username);
    //插入角色id
    boolean insertRoleId(int roleId,String username,Integer userId);
}
